﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace DiscoveryLogic.UI.Common.Applications
{
    /// <summary>
    /// Provides the ability to perform a navigation external to the application.
    /// </summary>
    public interface IExternalNavigationService
    {

        /// <summary>
        /// Gets whether external navigation can be performed.
        /// </summary>
        bool CanNavigate
        {
            get;
        }

        /// <summary>
        /// Performs an external navigation to the specified URI in an optionally
        /// specified frame.
        /// </summary>
        /// <param name="uri">The URI to navigate to.</param>
        /// <param name="targetFrame">The name of the frame to use.</param>
        void Navigate(Uri uri, string targetFrame);
    }
}
